package com.easy.dfcapi.service;

import com.easy.common.bean.Result;
import com.easy.dfcapi.entity.ImgReq;
import com.easy.dfcapi.res.*;

import java.util.List;

/**
 * Created by VULCANTSeries on 2017/5/10.
 */
public interface ApiUserService {

    public Result GetVerSmsCode(ResponseUser response) throws Exception;
    public Result UserRegister(ResponseUser response) throws Exception;

    public Result UserLogin(ResponseUser response) throws Exception;
    public Result SmsLogin(ResponseUser response) throws Exception;

    public Result ModifyPassword(ResponseUser response) throws Exception;

    public Result ResetPassword(ResponseUser response) throws Exception;

    public Result UserInfo(Response<UserRes> response) throws Exception;

    public Result UpdateNick(Response<UserRes> response) throws Exception;
    public Result UpdateMobile(Response<UserRes> response) throws Exception;
    public Result UpdateAvatar(List<ImgReq> imgList, Response<UserRes> response) throws Exception;

    public Result RefreshToken(Response<UserRes> response) throws Exception;

    public Result UpdateLoginName(Response<UserRes> response) throws Exception;

    public Result CheckLoginName(Response<UserRes> response) throws Exception;

    public Result CheckMobile(Response<UserRes> response) throws Exception;

    public Result AddressList(Response<AddressRes> response) throws Exception;

    public Result AddressAdd(Response<AddressRes> response) throws Exception;

    public Result AddressMod(Response<AddressRes> response) throws Exception;

    public Result AddressDel(Response<AddressRes> response) throws Exception;

    public Result FriendGroupList(Response<UserGroupRes> response) throws Exception;

    public Result FriendList(Response<UserGroupRes> response) throws Exception;

    public Result FriendGroupMod(Response<UserGroupRes> response) throws Exception;

    public Result FriendGroupDel(Response<UserGroupRes> response) throws Exception;

    public Result FriendGroupAdd(Response<UserGroupRes> response) throws Exception;

    public Result Friend2Group(Response<UserGroupRes> response) throws Exception;

    public Result FriendName(Response<UserGroupRes> response) throws Exception;

    public Result FriendAdd(Response<UserGroupRes> response) throws Exception;

    public Result FriendDel(Response<UserGroupRes> response) throws Exception;

    public Result BlackAdd(Response<UserGroupRes> response) throws Exception;

    public Result BlackDel(Response<UserGroupRes> response) throws Exception;

    public Result BlackList(Response<UserGroupRes> response) throws Exception;

    public Result getCountry() throws Exception;

    public Result getProvince(String countryId, String countryName) throws Exception;

    public Result getCity(String provinceId, String provinceName) throws Exception;

    public Result getDistrict(String cityId, String cityName) throws Exception;
}
